package com.five.bi.mapper;

import com.five.bi.model.TableModel;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.ArrayList;
@Mapper
public interface TableMapper {
    ArrayList<String> getTables(String table_schema) ;

    ArrayList<String> getTables_clickHouse(String table_schema) ;

    ArrayList<TableModel> getSchemas (@Param("table_name") String tableName, @Param("table_schema")String dbName) ;
    ArrayList<String> getTablesLike (@Param("table_name") String tableName, @Param("table_schema")String dbName) ;
    ArrayList<TableModel> getSchemas_clickHouse (@Param("table_name") String tableName, @Param("table_schema")String dbName) ;

    ArrayList<String> getTables_clickHouseLike (@Param("table_name") String tableName, @Param("table_schema")String dbName) ;

}
